<?php require VIEWPATH. ADMIN_DIR. DIRECTORY_SEPARATOR. 'header.php'?>
<style type="text/css">
	.widget-box{
		margin-top: -10px;
	}

</style>
	<link rel="stylesheet" href="<?=$staticAdminUrl?>assets/css/workflow.css" />
	<div class="page-header">
		<h1>申请编号：<?= $applicationInfo['id'] ?></h1>
	</div>

	<div class="row">
		<div class="col-sm-10">
			<div class="widget-box transparent">
				<form id="workflow-design-form" class="form-horizontal">
					<div class="workflow-design-form-bottom"></div>
				</form>
			</div>
		</div>
	</div>
<?php require VIEWPATH. ADMIN_DIR. DIRECTORY_SEPARATOR. 'footer.php'?>
<!-- 百度编辑器 -->
<script src="<?=$staticAdminUrl?>assets/ueditor/ueditor.config.js"></script>
<script src="<?=$staticAdminUrl?>assets/ueditor/ueditor.all.js"></script>
<!-- 表单js -->
<script src="<?=$staticAdminUrl?>assets/js/workflow.js"></script>
<script type="text/javascript">
	$(function(){
		// 初始化表单内容
		$(document).checkWorkflowApplication({
			"droppableDom": $("#workflow-design-form"),
			"formData": <?= $applicationInfo['content'] ? $applicationInfo['content'] : "null" ?>
        })
    })
</script>
